package cn.net.msg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;

@Component("newslisturl")
@Entity @Table(name = "tb_newslist_url")
public class TbNewslistUrl {                                                                                                                         

    @Id @Column(name = "Newslist_id", length = 11)
    private int newsListId;

    @Column(name = "News_typeid", length = 11)
    private int newsTypeId;

    @Column(name = "Newslist_url", length = 200)
    private String newsListUrl;

    @Column(name = "Current_page", length = 11)
    private int currentPage;

    public TbNewslistUrl(){}

    public int getNewsListId() {
        return newsListId;
    }

    public void setNewsListId(int newsListId) {
        this.newsListId = newsListId;
    }

    public int getNewsTypeId() {
        return newsTypeId;
    }

    public void setNewsTypeId(int newsTypeId) {
        this.newsTypeId = newsTypeId;
    }

    public String getNewsListUrl() {
        return newsListUrl;
    }

    public void setNewsListUrl(String newsListUrl) {
        this.newsListUrl = newsListUrl;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }
}
